package com.lanxin.zc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lanxin.hr.entity.JcBasicdatavalue;
import com.lanxin.hr.entity.ZzEmployee;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-07-16
 */
@TableName("zc_assetmovedetails")
public class ZcAssetmovedetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    private Integer parentid;
    @TableField("assetId")
    private Integer assetId;
    @TableField("formPlace")
    private Integer formPlace;
    @TableField("yuanRen")
    private Integer yuanRen;
    @TableField("targetPlace")
    private Integer targetPlace;
    @TableField("moveDate")
    private LocalDate moveDate;
    // 用于详情页显示的关联对象
    @TableField(exist = false)
    private ZcAsset asset;

    @TableField(exist = false)
    private ZzEmployee keeper;

    @TableField(exist = false)
    private JcBasicdatavalue storage;

    @TableField(exist = false)
    private JcBasicdatavalue targetPlaceObj;

    private String remark;

    public ZcAsset getAsset() {
        return asset;
    }

    public void setAsset(ZcAsset asset) {
        this.asset = asset;
    }

    public ZzEmployee getKeeper() {
        return keeper;
    }

    public void setKeeper(ZzEmployee keeper) {
        this.keeper = keeper;
    }

    public JcBasicdatavalue getStorage() {
        return storage;
    }

    public void setStorage(JcBasicdatavalue storage) {
        this.storage = storage;
    }

    public JcBasicdatavalue getTargetPlaceObj() {
        return targetPlaceObj;
    }

    public void setTargetPlaceObj(JcBasicdatavalue targetPlaceObj) {
        this.targetPlaceObj = targetPlaceObj;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }
    public Integer getAssetId() {
        return assetId;
    }

    public void setAssetId(Integer assetId) {
        this.assetId = assetId;
    }
    public Integer getFormPlace() {
        return formPlace;
    }

    public void setFormPlace(Integer formPlace) {
        this.formPlace = formPlace;
    }
    public Integer getYuanRen() {
        return yuanRen;
    }

    public void setYuanRen(Integer yuanRen) {
        this.yuanRen = yuanRen;
    }
    public Integer getTargetPlace() {
        return targetPlace;
    }

    public void setTargetPlace(Integer targetPlace) {
        this.targetPlace = targetPlace;
    }
    public LocalDate getMoveDate() {
        return moveDate;
    }

    public void setMoveDate(LocalDate moveDate) {
        this.moveDate = moveDate;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ZcAssetmovedetails{" +
            "oid=" + oid +
            ", parentid=" + parentid +
            ", assetId=" + assetId +
            ", formPlace=" + formPlace +
            ", yuanRen=" + yuanRen +
            ", targetPlace=" + targetPlace +
            ", moveDate=" + moveDate +
            ", remark=" + remark +
        "}";
    }
}
